package com.ccsoft.mybatiscache.entity;

import java.io.Serializable;

/**
 * 下面创建表的脚本
 * DELIMITER $$
 * drop TABLE IF EXISTS temp;
 * CREATE TABLE temp
 * (
 *     id INT AUTO_INCREMENT PRIMARY KEY ,
 *     value1 VARCHAR(100) NULL,
 *     value2 VARCHAR(100) null
 * );
 *
 * INSERT INTO temp (value1,value2) VALUES ('11111','aaaaa');
 * INSERT INTO temp (value1,value2) VALUES ('22222','bbbbb');
 * INSERT INTO temp (value1,value2) VALUES ('33333','ccccc');
 * INSERT INTO temp (value1,value2) VALUES ('44444','ddddd');
 * INSERT INTO temp (value1,value2) VALUES ('55555','eeeee');
 * $$
 */
public class Temp implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer id;
    private String value1;
    private String value2;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getValue1() {
        return value1;
    }

    public void setValue1(String value1) {
        this.value1 = value1;
    }

    public String getValue2() {
        return value2;
    }

    public void setValue2(String value2) {
        this.value2 = value2;
    }

    @Override
    public String toString() {
        return "Temp{" +
                "id=" + id +
                ", value1='" + value1 + '\'' +
                ", value2='" + value2 + '\'' +
                '}';
    }
}
